CFLAG= -std=c++11 -I ../../../build/release-install-cpp11/include/
LFLAG= -L../../../build/release-install-cpp11/lib -lmuduo_net -lmuduo_base -lpthread -ljsoncpp
all:server client_pub client_sub
server:server.cpp
	g++ -g $(CFLAG) $^ -o $@ $(LFLAG)
client_pub:client_pub.cpp
	g++ -g $(CFLAG) $^ -o $@ $(LFLAG)
client_sub:client_sub.cpp
	g++ -g $(CFLAG) $^ -o $@ $(LFLAG)
.PHONY:clean
clean:
	rm -rf server client_pub client_sub